import React, { Component } from 'react';
import './GoBack.less'
import { withRouter } from 'react-router-dom'

class GoBack extends Component {
  render() {
    return (
      <div className='goback' onClick={() => this.props.history.go(-1)}>
        返回上一页
      </div>
    );
  }

}

export default withRouter(GoBack);
// export default GoBack;